// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'lib-flexible'
import axios from 'axios'
import store from './store/store'
import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad,{
    error:'http://file.zoomyoung.cn/web/img/loading.gif',
    loading:'http://file.zoomyoung.cn/web/img/loading.gif'
})
axios.defaults.withCredentials=true
Vue.prototype.$http=axios  
Vue.config.productionTip = false
Vue.prototype.bus = new Vue;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
